/*
 * @FileName: dev_info.h
 * @Author: GreyQiu qiushaogui@aikosolar.com
 * @Date: 2023-08-08 14:39:32
 * @LastEditors: GreyQiu qiushaogui@aikosolar.com
 * @LastEditTime: 2023-09-05 09:36:15
 * @Description: 
 * 
 * Copyright (c) 2023, All Rights Reserved. 
 */

#ifndef __DEV_INFO_H__
#define __DEV_INFO_H__

#include <stdint.h>

#define VOUT_MAX 57.0f
#define IOUT_MAX 15.5f

typedef struct
{
    const char * devName;   // 设备名称
    const char * serialNum; // 设备名称
    uint32_t swVer;         // 软件版本
    uint32_t hwVer;         // 硬件版本
    float voutMax;          // 最大输出电压
    float ioutMax;          // 最大输出电流
    float vinMin;           // MPPT最低点
} dev_info_t;


extern const dev_info_t g_device_info;
#endif // __DEV_INFO_H__
